package com.ajx.blog.mapper;

import com.ajx.blog.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

public interface ArticleMapper extends BaseMapper<Article> {

    int updateCommentnum(Integer blogid);

    int collect(Integer aid);

    List<Article> selectByExample(Article article);

    List<Article> selectHottest();

    List<Article> selectByMaps(Map<String, Object> stringStringMap);

    int insertBackKey(Article article);


    List<Article> selectByExamples(Map<String, Object> stringIntegerMap);
}
